import {
  post,
  get,
  put,
  dalete,
  postJosn,
  putone,
  patch,
  patchJson,
  daleteJson,
  download,
} from '../utils/request';

//1.图片视频管理
//大区查询
export function getWarZoneCount(data) {
  return post('/api/user-service/v1/storeDownloadCount/getWarZoneCount', data);
}
//营销区域查询
export function getBase(data) {
  return post('/api/user-service/v1/storeDownloadCount/getBase', data);
}

//店铺查询
export function getStore(data) {
  return post('/api/user-service/v1/storeDownloadCount/getStore', data);
}

//大区导出
export function exportWarZoneDate(data) {
  return download(
    '/api/user-service/v1/storeDownloadCount/exportWarZoneDate',
    data
  );
}
//营销区域导出
export function exportBase(data) {
  return download('/api/user-service/v1/storeDownloadCount/exportBase', data);
}

//店铺导出
export function exportStore(data) {
  return download('/api/user-service/v1/storeDownloadCount/exportStore', data);
}

//2.动销数据
//大区查看
export function queryZqData(data) {
  return post('/api/data-service/StoreActivation/queryZqData', data);
}
//营销区域查看
export function queryBaseData(data) {
  return post('/api/data-service/StoreActivation/queryBaseData', data);
}

//店铺查看
export function queryStoreData(data) {
  return post('/api/data-service/StoreActivation/queryStoreData', data);
}

//大区导出
export function queryZqDataExcel(data) {
  return download('/api/data-service/StoreActivation/queryZqDataExcel', data);
}
//营销区域导出
export function queryBaseDataExcel(data) {
  return download('/api/data-service/StoreActivation/queryBaseDataExcel', data);
}

//店铺导出
export function queryStoreDataExcel(data) {
  return download(
    '/api/data-service/StoreActivation/queryStoreDataExcel',
    data
  );
}
